#!/usr/bin/env python

import sys
import os

if len (sys.argv) != 2:
	print "Usage:", sys.argv[0], "<application>"
	sys.exit()

app = sys.argv[1]
if app.find (os.path.sep) > -1:
	os.chdir (app[:app.rfind (os.path.sep)])
	app = app[app.rfind (os.path.sep)+1:]


#if [ -f gtktest.suite ]
#then
#	TOTAL=`grep -c "^=" gtktest.suite`
#	for ((I=0; $I<=$TOTAL; I++ ))
#	do
#		./$APP --case=$I
#		echo
#	done
#else
#	echo "No gtktest.suite file present"
#fi
